package com.glorystone.ins.vo;

import java.time.LocalDate;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glorystone.ins.beanUtils.annotation.ExcelField;
import com.glorystone.ins.domain.CustomLocalDateSerializer;
import lombok.Data;



/**
 * @author:haoguodong
 * @Date:Created in 13:41 2018/3/27
 * @since: JDK 1.7
 * @projectName:IntelliJ IDEA
 * @Description:类功能描述
 */
public @Data
class EndpayingCVo {

    @ExcelField(title = "保单号", type = 1, align = 2, sort = 1)
    private String ordNum;

    @ExcelField(title = "付款主体", type = 1, align = 2, sort = 2)
    private String paySubject;

    @ExcelField(title = "保险公司", type = 1, align = 2, sort = 3)
    private String insyrerName;

    @ExcelField(title = "渠道", type = 1, align = 2, sort = 4)
    private String channelName;

    @ExcelField(title = "渠道联系电话", type = 1, align = 2, sort = 5)
    private String channelPhone;

    @ExcelField(title = "险种", type = 1, align = 2, sort = 6)
    private String typeInsurance;

    @ExcelField(title = "被保险人", type = 1, align = 2, sort = 7)
    private String insurant;

    @ExcelField(title = "被保险人证件号", type = 1, align = 2, sort = 8)
    private String orgIdCode;

   /* @ExcelField(title = "投保人", type = 1, align = 2, sort = 9)
    private String applicant;*/

    @ExcelField(title = "车牌号", type = 1, align = 2, sort = 9)
    private String plateNum;

    @ExcelField(title = "商业保险费（元）", type = 1, align = 2, sort = 10)
    private String mercialPremium;

    @ExcelField(title = "交强保险费（元）", type = 1, align = 2, sort = 11)
    private String pulsoryPremium;

    @ExcelField(title = "车船税（元）", type = 1, align = 2, sort = 12)
    private String vechcleVesselTax;

    @ExcelField(title = "全保费（元）", type = 1, align = 2, sort = 13)
    private String allPremium;

    @ExcelField(title = "开单日期", type = 1, align = 2, sort = 14)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private LocalDate dateIssuance;

    @ExcelField(title = "起保日期", type = 1, align = 2, sort = 15)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private LocalDate datePolicy;

    @ExcelField(title = "渠道返点", type = 1, align = 2, sort = 16)
    private String channelRebate;

    @ExcelField(title = "渠道返佣费", type = 1, align = 2, sort = 17)
    private String insureMustRebateAmt;

    @ExcelField(title = "应收保费（元）", type = 1, align = 2, sort = 18)
    private String insureMustPremium;

    @ExcelField(title = "实收保费（元）", type = 1, align = 2, sort = 19)
    private String insureRealPremium;

    @ExcelField(title = "渠道账期到期日", type = 1, align = 2, sort = 20)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private LocalDate insyrerMaturityDate;

    @ExcelField(title = "退保日期", type = 1, align = 2, sort = 21)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private String surrenderDate;

    @ExcelField(title = "退保应扣除渠道佣金（元）", type = 1, align = 2, sort = 22)
    private String mustRebateAmt;

    @ExcelField(title = "退保渠道应还保费（元）", type = 1, align = 2, sort = 23)
    private String mustPremium;

    @ExcelField(title = "渠道退保结算金额（元）", type = 1, align = 2, sort = 24)
    private String realRebateAmt;

    @ExcelField(title = "退保结算日期", type = 1, align = 2, sort = 25)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private String insureEndDate;

    @ExcelField(title = "跟单员", type = 1, align = 2, sort = 26)
    private String salemanName;


}
